package java_design_model.com.Flyweight;

public class m {
    public static void main(String[] args) {
        String[] cs=new String[]{"bule","red","yellow","red"};
        B b=new B();
        for(String s:cs){
            b.getAA(s).show();
        }
        System.out.println(b.aas.size());
    }
}
